package com.scanner.bean;

import java.io.Serializable;

public class DeviceInfo implements Serializable{
    private int deviceType;
    private String deviceName;

    private int baudRate;
    public DeviceInfo(int deviceType, String deviceName, int baudRate) {
        this.deviceType = deviceType;
        this.deviceName = deviceName;
        this.baudRate = baudRate;
    }

    public int getBaudRate() {
        return baudRate;
    }

    public void setBaudRate(int baudRate) {
        this.baudRate = baudRate;
    }

    public int getDeviceType() {
        return deviceType;
    }

    @Override
    public String toString() {
        return deviceName;
    }

    public void setDeviceType(int deviceType) {
        this.deviceType = deviceType;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }
}
